package com.mall.service;

import com.mall.po.Invoice;

import java.util.List;

/**
 * @ClassName InvoiceService
 * @Description TODO
 * @action luoliang
 * @Data 2021/1/6 11:12
 * @Version 1.0
 */
public interface    InvoiceService {
    /**
     * 删
     * @param deliverid
     * @return
     */
    int deleteByid(Integer deliverid);

    /**
     * 添加
     * @param record
     * @return
     */
    int addinsert(Invoice record);

    /**
     * 查
     * @param deliverid
     * @return
     */
    Invoice selectByid(Integer deliverid);

    /**
     * 修改
     * @param record
     * @return
     */
    int updateInvoice(Invoice record);

    /**
     * 批量删除
     * @param
     * @return
     */
    boolean delectByids(Integer[] deliverids);

    /**
     * 分页
     * @param page
     * @param pagesize
     * @return
     */
    List<Invoice> selectPage(int page,int pagesize);
}
